package com.dk.service.seckill;

import com.dk.pojo.seckill.TbSeckillGoods;
import com.dk.pojo.seckill.TbSeckillOrder;

import java.util.List;

public interface SeckillGoodsService {
    List<TbSeckillGoods> getSeckillGoods();


    TbSeckillGoods getSeckillGoodsById(Long id);

    void submitOrder(Long id, Long userId);

    void saveOrder(Long id, Long userId);

    TbSeckillOrder getSeckillORderByUserId(Long userId);

    int updateSekillOrderStatus(String out_trade_no);
}
